package com.itheima.controller;

import com.itheima.factory.BeanFactory;
import com.itheima.service.Imp.UserServiceImpl;
import com.itheima.service.UserService;

public class UserController {
    public static void main(String[] args) throws Exception {

        //UserService userService = new UserServiceImpl();
        UserService userService = BeanFactory.getBean();
        userService.findAll();

    }
}
